/*
 * Copyright 2010 bedatadriven
 *
 *    Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *        http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 */

/**
 * JacobGen generated file --- do not edit
 *
 * (http://www.bigatti.it/projects/jacobgen)
 */
package com.bedatadriven.mso.core;

import com.google.gwt.core.client.JavaScriptObject;
import com.google.gwt.core.client.JsArray;

/** Wrapper for Office.IBlogExtensibility*/
public class IBlogExtensibility extends JavaScriptObject {

	protected IBlogExtensibility() { }
	public native final void blogProviderProperties(String blogProvider, String friendlyName, int categorySupport, boolean padding)/*-{
		this.BlogProviderProperties( blogProvider, friendlyName, categorySupport, padding);
	}-*/;

	public native final void setupBlogAccount(String account, int parentWindow, Object document, boolean newAccount, boolean showPictureUI)/*-{
		this.SetupBlogAccount( account, parentWindow, document, newAccount, showPictureUI);
	}-*/;

	public native final void getUserBlogs(String account, int parentWindow, Object document,  JsArray blogNames,  JsArray blogIDs,  JsArray blogURLs)/*-{
		this.GetUserBlogs( account, parentWindow, document, blogNames, blogIDs, blogURLs);
	}-*/;

	public native final void getRecentPosts(String account, int parentWindow, Object document,  JsArray postTitles,  JsArray postDates,  JsArray postIDs)/*-{
		this.GetRecentPosts( account, parentWindow, document, postTitles, postDates, postIDs);
	}-*/;

	public native final void open(String account, String postID, int parentWindow, String xHTML, String title, String datePosted,  JsArray categories)/*-{
		this.Open( account, postID, parentWindow, xHTML, title, datePosted, categories);
	}-*/;

	public native final void publishPost(String account, int parentWindow, Object document, String xHTML, String title, String dateTime,  JsArray categories, boolean draft, String postID, String publishMessage)/*-{
		this.PublishPost( account, parentWindow, document, xHTML, title, dateTime, categories, draft, postID, publishMessage);
	}-*/;

	public native final void republishPost(String account, int parentWindow, Object document, String postID, String xHTML, String title, String dateTime,  JsArray categories, boolean draft, String publishMessage)/*-{
		this.RepublishPost( account, parentWindow, document, postID, xHTML, title, dateTime, categories, draft, publishMessage);
	}-*/;

	public native final void getCategories(String account, int parentWindow, Object document,  JsArray categories)/*-{
		this.GetCategories( account, parentWindow, document, categories);
	}-*/;

}
